package com.weiiew.backend.entity;

import com.weiiew.backend.operationUtils.KeyCode;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Description
 * @Author 魏锴
 * @Date 2025/4/28
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class KeyInfo {
    private KeyCode keyCode; // 按下的按键编码
    private boolean hasShift; // 是否有shift键按下
    private boolean hasCtrl; // 是否有ctrl键按下
    private boolean hasAlt; // 是否有alt键按下
    private boolean hasWin; // 是否有windows键按下
    private long duration; // 点击时长
    private long interval; // 点击间隔
}
